package ru.agiledev.wikiservice;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.util.List;

/**
 * Created by a.kirillov
 * Date: 2/6/12 Time: 9:55 PM
 */

/**
 * DTO for grammar environment of the word
 */
@XmlRootElement(name = "WiktionaryService", namespace ="http://wikiservice.agiledev.ru/")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "conceptObject")
public class ConceptObject {

    private String value;
    private List<String> synonyms;
    private List<String> antonyms;
    private List<String> hypernyms;
    private List<String> hyponyms;

    public ConceptObject() {}

    public ConceptObject(String value) {
        this.value = value;
    }

    public ConceptObject(String value, List<String> synonyms, List<String> antonyms, List<String> hyponyms, List<String> hypernyms) {
        this.value = value;
        this.synonyms = synonyms;
        this.antonyms = antonyms;
        this.hypernyms = hypernyms;
        this.hyponyms = hyponyms;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public List<String> getSynonyms() {
        return synonyms;
    }

    public void setSynonyms(List<String> synonyms) {
        this.synonyms = synonyms;
    }

    public List<String> getAntonyms() {
        return antonyms;
    }

    public void setAntonyms(List<String> antonyms) {
        this.antonyms = antonyms;
    }

    public List<String> getHypernyms() {
        return hypernyms;
    }

    public void setHypernyms(List<String> hypernyms) {
        this.hypernyms = hypernyms;
    }

    public List<String> getHyponyms() {
        return hyponyms;
    }

    public void setHyponyms(List<String> hyponyms) {
        this.hyponyms = hyponyms;
    }
}
